{layout name="passport:layout" /}
<form id="form" action="{:url('system/passport.miniapp/addpass')}">
    <input type="hidden" name="id" value="{$id}" />
    <div class="titlebar">小程序信息</div>
    <table class="formtable"">
        <tr>
            <th>小程序类目:</th>
            <td>
                <select datatype="*" name="cate" class="select w300">
                    <option value="">请选择小程序类目</option>
                    {foreach $cate as $key => $vo }<option value="{$key}">{$vo.name}</option>{/foreach}
                </select>
            </td>
        </tr>   
        <tr class="imgs">
            <th>小程序截图</th>
            <td id="imgbox"><div url="{:url('system/passport.common/upload')}" class="img-review fn-left fn-cp win"></div></td>
        </tr>
        <tr>
            <th>反馈内容:</th>
            <td><textarea name="feedback_info" class="textarea w300 h60"></textarea><p class="gray">审核失败时,反馈小程序内容，至多200字.</p></td>
        </tr>
    </table>
    <div class="tipbox tipbox-message">小程序类目中包含"社交-社区/论坛"或其它由用户产生内容的类目,必须填写下面。</div>
    <table class="formtable">
        <tr>
            <th>UGC场景:</th>
            <td>
                <span class="badge bg-blue"><input name="scene[]" type="checkbox" value="0" checked/>不涉内容</span>
                <span class="badge bg-blue"><input name="scene[]" type="checkbox" value="1" />用户</span>
                <span class="badge bg-blue"><input name="scene[]" type="checkbox" value="2" />图片</span>
                <span class="badge bg-blue"><input name="scene[]" type="checkbox" value="3" />视频</span>
                <span class="badge bg-blue"><input name="scene[]" type="checkbox" value="4" />文本</span>
                <span class="badge bg-blue"><input name="scene[]" type="checkbox" value="5" />其他</span>
            </td>
        </tr>
        <tr>
            <th>UGC说明:</th>
            <td><input class="input w300" type="text" name="other_scene_desc" value="" />
                <span class="gray fn-f12">选择其他UGC场景的必须填写</span>
            </td>
        </tr>
        <tr>
            <th>UGC安全机制:</th>
            <td>
                <span class="badge bg-blue"><input name="method[]" type="checkbox" value="1" checked/>微信官方安全API</span>
                <span class="badge bg-blue"><input name="method[]" type="checkbox" value="2" />其它安全审核产</span>
                <span class="badge bg-blue"><input name="method[]" type="checkbox" value="3" />通过人工审核把</span>
                <span class="badge bg-blue"><input name="method[]" type="checkbox" value="4" />未做内容审核把</span>
            </td>
        </tr>
        <tr>
            <th>UGC审核团队:</th>
            <td>
                <span class="badge bg-blue"><input name="has_audit_team" type="radio" value="0" checked/>无团队</span>
                <span class="badge bg-blue"><input name="has_audit_team" type="radio" value="1" />有团队</span>
            </td>
        </tr>
        <tr>
            <th>UGC其它机制:</th>
            <td><input class="input w300" type="text" name="audit_desc" value="" /></td>
        </tr>
        <tr>
            <th></th>
            <td>
                <input type="submit" value="提交审核"" class="button button-blue submit" />
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">
Do('base','layer','form',function(){
    $(".win").win();
    $('#form').isForm();
})
</script>